package guoanmaker.operator.business.repository;

import guoanmaker.operator.business.model.OperatorCouponPage;
import guoanmaker.operator.business.model.OperatorFriendshipLink;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 *  
 *
 * @author huZhaoyu 
 * @ClassName: OperatorCouponMessageRepository
 * @Description: 优惠券Repository
 * @date 2017/6/28
 */
public interface OperatorCouponPageRepository extends JpaRepository<OperatorCouponPage, String>, JpaSpecificationExecutor<OperatorCouponPage> {
//	@Query("select u from OperatorUser u left join fetch u.roles r where u.username=:username")
//    public Optional<OperatorUser> findByUsername(@Param("username") String username);
}